<HTML><HEAD><TITLE>plot(++Data)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(gnuplot)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>plot(++Data)</H1>
Plot the given data using default options
<DL>
<DT><EM>Data</EM></DT>
<DD>The data to be plotted, array or list.
</DD>
</DL>
<H2>Description</H2>
<P> Produces an on screen plot of the data given using the default
 settings.

<P> Can either be a list or a nested list of a 1D or 2D array of y
 values or x-y points.
<H3>Fail Conditions</H3>
Data is not in a valid format
<H3>Resatisfiable</H3>
false
<H2>Examples</H2>
<PRE>
% x-y pairs
?- A=[1-3,5-2,9-2,8-2,5-7], plot(A).

% y values
?- A=[1,2,3,4,8,9,4,2,4,6], plot(A).

% multiple y values in nested lists
?- A=[[1,2,4,6,7,8,9],[1,4,16,36,49,64,81]], plot(A).            

% multiple y values in an array
?- A=[]([](1,2,4,6,7,8,9),[](1,4,16,36,49,64,81)), plot(A).

% multiple x-y pairs
?- A=[[1-3,5-2,9-2,8-2,5-7], [1-2,5-4,8-6,9-1,12-4]], plot(A).
</PRE>
<H2>See Also</H2>
<A HREF="../../lib/gnuplot/plot-2.html">plot / 2</A>, <A HREF="../../lib/gnuplot/plot-3.html">plot / 3</A>, <A HREF="../../lib/gnuplot/plot-4.html">plot / 4</A>
</BODY></HTML>
